<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>货物预定系统</title>
        <script type="text/javascript" src="__ROOT__/static/script/jq.js"></script><script type="text/javascript" src="__ROOT__/static/script/jquery-ui.js"></script><script type="text/javascript" src="__ROOT__/static/script/jquery-blockUI.js"></script><script type="text/javascript" src="__ROOT__/static/script/admin_script.js"></script><script type="text/javascript" src="__ROOT__/static/script/home.js"></script>
        <link rel="stylesheet" type="text/css" href="__ROOT__/static/style/admin_style.css" />
    </head>

    <body>
        <div id="page_head">
            <div class="masthead">
                <h1 class="logo"></h1>
                <div id="nav">
                    <ul id="mainnav">
                        <li <?php if(MODULE_NAME == 'Booklist'): ?>class="cur"<?php endif; ?>><a href="<?php echo U('Admin/Booklist/index');?>">订货信息</a>
                        </li>
                        <li <?php if(MODULE_NAME == 'Setgoods'): ?>class="cur"<?php endif; ?>><a href="<?php echo U('Admin/Setgoods/index');?>">货物设置</a>
                        </li>
                        <li <?php if(MODULE_NAME == 'Usermanage'): ?>class="cur"<?php endif; ?>><a href="<?php echo U('Admin/Usermanage/index');?>">用户管理</a>
                        </li>
                    </ul>
                </div>
                
                    <script type="text/javascript">
                        /*mainnav*/
                        jQuery('#mainnav li').hover(function() {
                            jQuery('ul', this).slideDown(200);
                        }, function() {
                            jQuery('ul', this).slideUp(300);
                        });
                    </script>
                  	
                <div class="us_info"> <a href="#" class="l"><?php if(file_exists('./upload/user/thumb/'.$user['id'].'/big')) echo "<img src='/upload/user/thumb/".$user['id']."/big' width='40' height='40' />"; ?></a> 管理员用户 <a href="#" style="color:red;"><?php echo ($unick); ?></a> <i>|</i> <a href="<?php echo U('Home/Login/Logout');?>">退出</a> <br />
                    <!--      <span>角色：管理员</span>-->
                </div>
            </div>

<div id="tool_bar">
    <div class="plugin"></div>
    <div class="search r">
    </div>
</div>
<div id="page_body">
    <div class="main_warp" id="main_warp">
        <div class="main_body" id="main_body">  

            <div class="mod space">
                <div class="m_bd">

                    <div class="form">
                        <form method="POST" action="<?php echo U('Admin/Adduser/create');?>" style="margin:0">
                            <div class="m_head" align="center" name="list" id="list">

                                <div style="padding-top: 20px;padding-bottom: 20px">
                                    <table border="1">
                                        <tr>
                                            <th>用户名：</th>
                                            <td width="150px" align="center"><input id="username" type='text' name="username" class="in_text" value=""/></td>
                                        </tr>
                                        <tr>
                                            <th>密码：</th>
                                            <td width="150px" align="center"><input id="password" type='text' name="password" class="in_text" value=""/></td>
                                        </tr>
                                        <tr>
                                            <th>姓名：</th>
                                            <td width="150px" align="center"><input id="name" type='text' name="name" class="in_text" value=""/></td>
                                        </tr>
                                        <tr>
                                            <th>电话：</th>
                                            <td width="150px" align="center"><input id="phone" type='text' name="phone" class="in_text" value=""/></td>
                                        </tr>
                                        <tr>
                                            <th>店铺地址：</th>
                                            <td width="150px" align="center"><input id="address" type='text' name="address" class="in_text" value=""/></td>
                                        </tr>
                                        <tr>
                                            <th>角色：</th>

                                            <td width="150px" align="center">
                                                <select id="status" name="status" style="width:100px;">
                                                    <option value="用户">用户</option>
                                                    <option value="管理员">管理员</option>
                                                </select>
                                            </td>
                                        </tr>
                                    </table>

                                    <INPUT TYPE="submit" class="button" value="新 增" style="margin-top: 20px;padding: 10px"/>

                                </div>
                            </div>
                        </form>
                    </div>

                </div>

            </div>
        </div>
    </div>
</div>

<div id="page_foot"> <span class="l">货物预定系统 V1.0</span> <span class="r">Copyright©2014 邮缘科技 版权所有</span> </div>
<script type="text/javascript" src="__ROOT__/static/script/admin_page.js"></script>
</body>
</html>